const pxtorem = require("postcss-pxtorem");
module.exports = {
    css: {
        loaderOptions: {
            postcss: {
                plugins: [
                    pxtorem({ // pxtorem配置
                      rootValue: 100,
                      unitPrecision: 5,
                      propList: ['*'],
                      selectorBlackList: [],
                      replace: true,
                      mediaQuery: false,
                      minPixelValue: 0,
                      exclude: /node_modules/i
                    })
                ]
            }
        }
    }
}